home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / dte5_1.zip / UTILS.H < prev    next >
Text File  |  1991-02-06  |  1KB  |  46 lines

  1. /*
  2.  * Written by Douglas Thomson (1989/1990)
  3.  *
  4.  * This source code is released into the public domain.
  5.  */
  6.  
  7. /*
  8.  * This file contains the prototypes for functions in utils.c
  9.  */
  10.  
  11. /*
  12.  * possible answers to various questions - see get_yn, get_ynaq and get_oa
  13.  */
  14. #define A_YES 1
  15. #define A_NO 2
  16. #define A_ALWAYS 3
  17. #define A_QUIT 4
  18. #define A_ABORT 5
  19. #define A_OVERWRITE 6
  20. #define A_APPEND 7
  21.  
  22. int get_yn ARGS((windows *window));
  23. int get_ynaq ARGS((windows *window));
  24. int get_oa ARGS((windows *window));
  25. int get_name ARGS((char *prompt, int lines, char *name));
  26. void un_copy_line ARGS((windows *window));
  27. int linelen ARGS((text_ptr s));
  28. int prelinelen ARGS((text_ptr s));
  29. int myisalnum ARGS((char c));
  30. int display ARGS((do_func doit, int reserved));
  31. text_ptr find_next ARGS((text_ptr s));
  32. void copy_line ARGS((windows *window));
  33. text_ptr find_prev ARGS((text_ptr current));
  34. int load_file ARGS((char *name, int fixup));
  35. void fix_marks ARGS((windows *window, text_ptr pos, long len));
  36. void setup_window ARGS((windows *window));
  37. int first_non_blank ARGS((char *s));
  38. int update_line ARGS((windows *window, text_ptr orig, int line,
  39.         text_ptr cursor));
  40. void scroll_up ARGS((windows *window));
  41. void scroll_down ARGS((windows *window));
  42. void page_down ARGS((windows *window));
  43. void page_up ARGS((windows *window));
  44. void save_file ARGS((windows *window, int kind));
  45. void save_as_file ARGS((windows *window));
  46.